<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>腾讯地图demo</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" type="text/css" href="../../../layui/css/layui.css" />
	</head>
	<body>
		<div id="demo" style="width: 100%;height: 600px;">
			
		</div>
	</body>
	<script src="../../../layui/layui.js"></script>
	<script>
		layui.config({
			base: '../../../layui_exts/' //配置 layui 第三方扩展组件存放的基础目录
		}).extend({
			'qqMap': 'qqMap/qqMap'
		});
		layui.use("qqMap",function(){
			var qqMap = layui.qqMap;
			console.log(qqMap)
			qqMap.render({
				 elem: 'demo',
				 key:'KB3BZ-ZTJKP-4K5D5-LI6KC-OZ2F6-PXBGJ'
			})
			
		})
		
	</script>
</html>
